package com.wHitE.service.impl;

import com.wHitE.dao.BookListDao;
import com.wHitE.dao.impl.BookListDaoImpl;
import com.wHitE.pojo.Book;
import com.wHitE.pojo.BookList;
import com.wHitE.service.BookListService;

import java.util.List;

public class BookListServiceImpl implements BookListService {

    private BookListDao bookListDao = new BookListDaoImpl();

    @Override
    public BookList bookList(int pageNum, int pageCount) {
        return bookListDao.bookList(pageNum, pageCount);
    }

    @Override
    public BookList bookList(String name, int pageNum, int pageCount) {
        return bookListDao.bookList(name, pageNum, pageCount);
    }
}
